package org.rendao.question.query
{
	import mx.collections.ArrayCollection;
	
	import org.rendao.entity.ConstantDefinition;
	import org.rendao.entity.QuestionCriteria;

	public class QuestionQueryViewDM
	{
		public const SELECT_ALL_LABEL:String = "全部";
		
		[Bindable]
		public var criteria:QuestionCriteria = new QuestionCriteria();
		
		[Bindable]
		public var questionList:ArrayCollection;
		
		[Bindable]
		public var firstIndexList:ArrayCollection;
		
		[Bindable]
		public var secondIndexList:ArrayCollection;
		
		[Bindable]
		public var userList:ArrayCollection;
		
		[Bindable]
		public var statusList:ArrayCollection = new ArrayCollection([
			SELECT_ALL_LABEL,
			ConstantDefinition.QUESTION_STATUS_RECEIVED,
			ConstantDefinition.QUESTION_STATUS_ANSWERED]);
	}
}